package com.wyz.note.project.demo.controller;


import com.wyz.note.project.demo.service.UserInfoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 用户基础信息表 前端控制器
 * </p>
 *
 * @author Wei yz
 * @since 2022-01-19
 */
@RestController
@RequestMapping("/userInfo")
public class UserInfoController {

    private static final Logger log = LoggerFactory.getLogger(UserInfoController.class);


    @Autowired
    private UserInfoService userInfoService;

    @GetMapping("/add")
    public Object add() {
        return userInfoService.add();
    }

}
